################################################################################
## MOD Title:		easyUCP extension - Second profilepage
##			update 1.0.1 to 1.0.2
##
## MOD Author:		AmigaLink < webmaster@amigalink.de > (Markus Schmidt) http://www.EssenMitFreude.info
## 
## Installation Level:	Difficult
## Installation Time:	2 Minutes 
##
## Files To Edit:  	2
##			includes\usercp_avatar.php
##			includes\usercp_register.php
##
## Included Files:	0
##
################################################################################
## The following sites also contain the latest version of this MOD: 
## 
## http://www.AmigaLink.de
## http://www.phpBBhacks.com
## http://www.phpBB.de
## 
## Full support for this MOD only can be obtained at: 
##
## http://www.AmigaLink.de
##  
################################################################################
################################################################################
## MOD History: 
## 
##   2006-05-31 - Version 1.0.2
##	- little bugfix
## 
##   2006-02-08 - Version 1.0.1
##	- add two missing codes to installation guide
##
##   2006-01-29 - Version 1.0.0
##	- First Version
## 
################################################################################
##
##  This hack is released under the GPL License. 
##  This hack can be freely used, but not distributed, without permission.
##  Intellectual Property Rights are retained by the hack author(s) 
##  listed above.
##
################################################################################
##
##  BEFORE ADDING THIS HACK TO YOUR FORUM, please be sure to backup ALL
##  affected files.
##
################################################################################

#
#----------[ OPEN ]-------------------------------------
#

includes/usercp_avatar.php

#
#----------[ FIND ]-------------------------------------
#
# Note: The real line may be longer
#

function display_avatar_gallery($mode, &$category

#
#----------[ INLINE FIND ]------------------------------
#

&$hideonline

#
#----------[ INLINE AFTER, ADD ]------------------------
#

, &$user_allow_viewprofile_2

#
#----------[ FIND ]-------------------------------------
#
# Note: The real line may be longer
#

	$params = array('coppa', 'user_id', 'username'

#
#----------[ INLINE FIND ]------------------------------
#

'hideonline'

#
#----------[ INLINE AFTER, ADD ]------------------------
#

, 'user_allow_viewprofile_2'

#
#----------[ OPEN ]-------------------------------------
#

includes/usercp_register.php

#
#----------[ FIND ]-------------------------------------
#
# Note: The real line may be longer
#

	display_avatar_gallery($mode, $avatar_category, $user_id

#
#----------[ INLINE FIND ]------------------------------
#

$allowviewonline

#
#----------[ INLINE AFTER, ADD ]------------------------
#

, $user_allow_viewprofile_2

#
#----------[ SAVE AND CLOSE ALL FILES ]-----------------
#
# EoM